package fun.wlfj.dao;

import java.util.Date;
import java.util.List;

import fun.wlfj.vo.PayList;
import fun.wlfj.vo.Product;
import fun.wlfj.vo.User;

/**
 * 通过指定用户创建账单
 * @author yves
 *
 */
public interface IPayListDao {
	// 下面是对订单的维护
	public int makePayList();
	public PayList getPayListByID(int userID, int payListID);
	public List<PayList> getPayLists(int type);
	public List<PayList> getPayLists(int type, Date date);
	
	// 下面是“购物车”相关功能。
	public String addProduct(PayList pl, Product p);
	public List<Product> getProduct(PayList pl);
	public String removeProduct(PayList pl, Product p);
}
